package cn.edu.nju.software.greencreditsystem.domain;

import javax.persistence.*;
/**
 * 作者：何启睿
 * 创建时间：2011-8-19
 * 类描述：用于保存一些系统设置
 */
@Entity
@Table(name="system_constant")
public class SystemConstant
{
    private String name;
    private double value;

    
    @Id
    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    @Column(name="_value")
    public double getValue()
    {
        return value;
    }

    public void setValue(double value)
    {
        this.value = value;
    }
}
